package patrol.mobile.com.mobilepatrol.activity.security.adapter;

import android.content.Context;

import com.dl7.recycler.adapter.BaseQuickAdapter;
import com.dl7.recycler.adapter.BaseViewHolder;

import patrol.mobile.com.mobilepatrol.R;
import patrol.mobile.com.mobilepatrol.bean.EnsurePlan2Bean;
import patrol.mobile.com.mobilepatrol.bean.SaveEdu2Bean;

/**
 * Created by K on 2018/9/11.
 * des:
 */
public class EmergencEdu2ListAdapter extends BaseQuickAdapter<SaveEdu2Bean> {

    public EmergencEdu2ListAdapter(Context context) {
        super(context);
    }

    @Override
    protected int attachLayoutRes() {
        return R.layout.item_emergency_edu_2_list;
    }

    @Override
    protected void convert(BaseViewHolder holder, final SaveEdu2Bean item) {
        holder.setText(R.id.tv_num, (holder.getLayoutPosition()) + "");
        holder.setText(R.id.tv_fileName, item.getFileName());



    }
}
